$OpenBSD: patch-src_Makefile,v 1.7 2013/10/30 08:25:20 benoit Exp $
--- src/Makefile.orig	Wed Oct 23 22:33:48 2013
+++ src/Makefile	Wed Oct 30 08:32:11 2013
@@ -162,8 +162,8 @@ ifdef BUILD_DIST			# distribution build
 OPTIONS = -O3 -Wall
 endif
 
-CFLAGS = $(OPTIONS) $(SYS_CFLAGS)  $(EXTRA_CFLAGS) $(CONFIG)
-LDFLAGS =           $(SYS_LDFLAGS) $(EXTRA_LDFLAGS) -lm
+CFLAGS += $(SYS_CFLAGS)  $(EXTRA_CFLAGS) $(CONFIG)
+LDFLAGS +=           $(SYS_LDFLAGS) $(EXTRA_LDFLAGS) -lm
 
 
 SRCS =	main.c		\
